/**
 * 
 */
package sk.stuba.fiit.foo07.genex.beans;

/**
 * @author Martin
 * 
 */
public class Keyword {
    private String text;
    private Integer keywordID;

    public Keyword() {
    }

    public Keyword(String text, Integer keywordID) {
        super();
        this.text = text;
        this.keywordID = keywordID;
    }

    /**
     * @return the text
     */
    public String getText() {
        return text;
    }

    /**
     * @param text
     *                the text to set
     */
    public void setText(String text) {
        this.text = text;
    }

    /**
     * @return the keywordID
     */
    public Integer getKeywordID() {
        return keywordID;
    }

    /**
     * @param keywordID
     *                the keywordID to set
     */
    public void setKeywordID(Integer keywordID) {
        this.keywordID = keywordID;
    }

    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return this.text;
    }
}
